package me.shurufa.widget.smoothcamera.view;

import android.content.Intent;
import android.os.Bundle;

import de.greenrobot.event.EventBus;
import me.shurufa.utils.Constants;
import me.shurufa.utils.StatusBarCompat;
import me.shurufa.widget.smoothcamera.core.CameraManager;


public class CameraBaseActivity extends BaseAppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        CameraManager.getInstance().addActivity(this);
        EventBus.getDefault().register(this);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        CameraManager.getInstance().removeActivity(this);
        EventBus.getDefault().unregister(this);
    }

    public void onEventMainThread(Intent intent) {
    }
}
